<template>
  <div class="about">
    <h1>This is an about page</h1>
    <!-- <FVMessage type="success" message="数据请求成功" /> -->
    <!-- <FVMessage type="success" message="数据请求成功"/>
    <FVMessage type="warn" message="数据请求成功"/>
    <FVMessage type="message" message="数据请求成功"/> -->

    <ElButton @click="message({ type: 'success', message: '数据请求成功',  grouping: true, })">success</ElButton>
    <ElButton @click="message({ type: 'error', message: '数据请求成功' })">error</ElButton>
    <ElButton @click="message({ type: 'warn', message: '数据请求成功' })">warn</ElButton>
    <ElButton @click="message({ type: 'message', message: '数据请求成功' })">message</ElButton>
  </div>
</template>
s

<script setup>
import { message } from '@/components/fv-message/index';
import { ElButton } from 'element-plus'

</script>